package cn.school.notice.service;


import cn.school.notice.entity.WorkflowNotice;
import com.baomidou.mybatisplus.core.metadata.IPage;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface WorkflowNoticeService {



    /**
     * 新增流程审批通知表
     * @param tripWorkflowNotice
     * @return
     */
    int insert(WorkflowNotice tripWorkflowNotice);


    /**
     * 删除流程审批通知表
     */
    int deleteNotice(WorkflowNotice tripWorkflowNotice);

    /**
     * 修改流程审批通知表
     */
    int update(WorkflowNotice tripWorkflowNotice);

    /**
     * 查询流程审批通知表
     */

    List<WorkflowNotice> selectById();


    /**
     * 分页查空间信息
     * @param workflowNotice
     * @return
     */
    IPage<WorkflowNotice> findNoticePageList(WorkflowNotice workflowNotice);



}
